import axios from "@/api/axios";

// /vistor/videos/*ts  
// /vistor/videoslist  
// /vistor/videoskinds 
export const getNewList = ()=>{
    return axios({
        url:'/vistor/videoslist',
        method: 'get'
    })
}
export const getListByKinds = kinds => {
    const requestData = { kinds }; // 将请求参数包装为对象
  
    return axios.post('/vistor/videoskinds', requestData, {
      headers: {
        'Content-Type': 'application/json' // 设置请求头的Content-Type为application/json
      }
    });
  };
  